package net.xdclass.feign;

import net.xdclass.util.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Classname OrderClient
 * @Description TODO
 * @Date 2022/5/13 17:51
 * @Created by sunhao
 */
@FeignClient(value = "xdclass-order-service")
public interface OrderFeignClient {

  @GetMapping("/api/order/v1/query_product_order_state/{outTradeNo}")
  JsonData queryProductOrderState(@PathVariable(value = "outTradeNo") String outTradeNo);

}
